package com.xiangxiao.rpan.file.constant;


/**
 * 全局常量类
 *
 * @author Liangzhifeng
 */
public final class FileConsts {

    private FileConsts() {
    }

    /**
     * 请求成功
     */
    public static final int OK = 10000000;
    /**
     * 请求失败
     */
    public static final int FAIL = 15000001;

    /**
     * 文件为空
     */
    public static final int FILE_IS_NULL = 15010001;
    /**
     * 上传文件失败
     */
    public static final int FILE_UP_FAIL = 15010002;
    /**
     * 删除文件失败
     */
    public static final int FILE_DEL_FAIL = 15010003;
    /**
     * 文件地址为空
     */
    public static final int FILE_URL_IS_NULL = 15010004;
    /**
     * 文件下载失败
     */
    public static final int FILE_DOWNLOAD_FAIL = 15010005;
    /**
     * 文件不存在
     */
    public static final int FILE_NOT_EXIST = 15010006;
    /**
     * 大文件上传失败
     */
    public static final int BIGFILE_UP_FAIL = 15010007;
    /**
     * 文件上传中
     */
    public static final int FILE_IS_UPING = 15010008;
    /**
     * 获取用户信息出错
     */
    public static final int GET_USER_MSG_FAIL = 15010009;
    /**
     * 获取文件锁失败，文件或正在上传中
     */
    public static final int GET_FILE_LOCK_FAIL = 15010010;
    /**
     * 查询文件批量删除进度失败，ID过期或错误
     */
    public static final int CHECK_FILE_BATCH_DELETE_FAIL = 15010011;
    /**
     * 文件批量删除出错
     */
    public static final int FILE_BATCH_DELETE_FAIL = 15010012;
    /**
     * 压缩文件上传出错
     */
    public static final int COMPRESSED_FILE_UPLOAD_FAIL = 15010013;
    /**
     * 压缩文件还未处理完毕，请稍后查询
     */
    public static final int COMPRESSED_FILE_IS_PROCESSING = 15010014;
    /**
     * 压缩文件处理失败，请重新上传处理
     */
    public static final int COMPRESSED_FILE_PROCESSING_FAIL = 15010015;
    /**
     * 该压缩文件不存在
     */
    public static final int COMPRESSED_FILE_IS_INEXISTENT = 15010016;
    /**
     * 文件续传片不正确
     */
    public static final int FILE_UPLOAD_CHUNK_ERROR = 15010017;
    /**
     * 接口传参错误
     */
    public static final int PARAMETER_ERROR = 15010018;
    /**
     * 不支持的数据类型删除
     */
    public static final int UNSUPPORT_DATA_TYPE_DELETE = 15010019;
    /**
     * 取消大文件上传失败
     */
    public static final int CANCEL_BIG_FILE_UPLOAD_FAIL = 15010020;
    /**
     * 获取文件地址出错
     */
    public static final int GET_FILE_URL_FAIL = 15010021;
    /**
     * 文件已存在，请勿重复上传
     */
    public static final int FILE_EXIST = 15010022;
}
